package com.itheima.homework.test4;

import java.util.Scanner;

public  class Phone extends TV implements RedRay  {






    @Override
    public void controlTV(TV tv) {
        System.out.println("手机开启红外功能,控制电视");
        tishi();
        Scanner sc = new Scanner(System.in);
        tv.play(sc.next());
    }
}
